package org.example.common;

import java.io.Serializable;

public class PageResponseResult extends ResponseResult implements Serializable {
    private Integer pageNum;
    private Integer PageSize;
    private Integer total;

    public PageResponseResult(Integer pageNum, Integer PageSize, Integer total) {
        this.pageNum = pageNum;
        this.PageSize = PageSize;
        this.total = total;
    }

    public PageResponseResult() {

    }


    public int getCurrentPage() {
        return pageNum;
    }

    public void setCurrentPage(int currentPage) {
        this.pageNum = currentPage;
    }

    public int getSize() {
        return PageSize;
    }

    public void setSize(int size) {
        this.PageSize = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
